﻿using System;
namespace EnterpriseFund.Model
{
	/// <summary>
	/// TaxAuditForm:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class TaxAuditForm
	{
		public TaxAuditForm()
        {
            FIsReturn = "N";
		}
		#region Model
		/// <summary>
		/// 数据审核电子档案号
		/// </summary>
		public string FTaxAuditId
		{
			set;
			get;
		}
        /// <summary>
        /// 
        /// </summary>
        public string FIsReturn
        {
            set;
            get;
        }
        /// <summary>
        /// 纳税人编码
        /// </summary>
        public string NSRBM 
        {
            set;
            get;
        }
        /// <summary>
        /// 纳税人名称
        /// </summary>
        public string FEnterprisePropName
        {
            set;
            get;
        }

        /// <summary>
        /// 纳税人名称
        /// </summary>
        public string FNewEnterprisePropName
        {
            set;
            get;
        }

        public decimal FAdjustAmount
        {
            get;
            set;
        }

        public decimal ShowFAdjustAmount
        {
            get {
                return decimal.Round(FAdjustAmount, 0);
            }
        }
        /// <summary>
        /// 纳税人名称
        /// </summary>
        public string FFinancePropName
        {
            set;
            get;
        }

        /// <summary>
        /// 纳税人名称
        /// </summary>
        public string FNewFinancePropName
        {
            set;
            get;
        }
        /// <summary>
        /// 纳税人名称
        /// </summary>
        public string FAllowanceName
        {
            set;
            get;
        }
		/// <summary>
		/// 公司编码
		/// </summary>
		public string FEntityNo
		{
			set;
			get;
		}
		/// <summary>
		/// 年度
		/// </summary>
		public decimal FYear
		{
			set;
			get;
		}
		/// <summary>
		/// 补贴类型编号
		/// </summary>
		public string FAllowanceClassNo
		{
			set;
			get;
		}
		/// <summary>
		/// 纳税人电子档案号
		/// </summary>
		public decimal NSRDZDAH
		{
			set;
			get;
		}
		/// <summary>
		/// 税款入库时间起
		/// </summary>
		public DateTime RKRQ_Q
		{
			set;
			get;
		}
		/// <summary>
		/// 税款入库时间止
		/// </summary>
		public DateTime RKRQ_Z
		{
			set;
			get;
		}

        /// <summary>
        /// 税款入库时间起
        /// </summary>
        public string RKRQ_QStr
        {
            get
            {
                return RKRQ_Q.ToString("yyyy-MM-dd");
            }
        }
        /// <summary>
        /// 税款入库时间止
        /// </summary>
        public string RKRQ_ZStr
        {
            get
            {
                return RKRQ_Z.ToString("yyyy-MM-dd");
            }
        }
		/// <summary>
		/// 纳税人名称
		/// </summary>
		public string NSRMC
		{
			set;
			get;
		}
		/// <summary>
		/// 原企业性质编号
		/// </summary>
		public string FOldEnterprisePropNo
		{
			set;
			get;
		}
		/// <summary>
		/// 原资金性质编号
		/// </summary>
		public string FOldFinancePropNo
		{
			set;
			get;
		}
		/// <summary>
		/// 调整后企业性质编号
		/// </summary>
		public string FNewEnterprisePropNo
		{
			set;
			get;
		}
		/// <summary>
		/// 调整后资金性质编号
		/// </summary>
		public string FNewFinancePropNo
		{
			set;
			get;
		}
		
		/// <summary>
		/// 状态：
///数据审核中
///数据已审核
///数据待重审
///政策鉴定中
///政策已鉴定
///政策待重鉴
///政策审核中
///政策已审核
///数据待作废
///数据已作废
		/// </summary>
		public string FStatus
		{
			set;
			get;
		}

        public string FStatusStr
        {
            get {
                if (FIsReturn == "N")
                {
                    switch (FStatus)
                    {
                        case "0":
                            return "新单";
                        case "1":
                            return "数据审核";
                        case "2":
                            return "政策鉴定";
                        case "3":
                            return "政策审核";
                    }
                }
                else
                {
                    return "退回";
                }

                return "";
            }
        }
		/// <summary>
		/// 备注
		/// </summary>
		public string FNote
		{
			set;
			get;
		}
		/// <summary>
		/// 政策鉴定说明
		/// </summary>
		public string FPolicyNote
		{
			set;
			get;
		}
		/// <summary>
		/// 录入员工编号
		/// </summary>
		public string FInsEmpNo
		{
			set;
			get;
		}
		/// <summary>
		/// 录入部门编号
		/// </summary>
		public string FInsDeptNo
		{
			set;
			get;
		}
		/// <summary>
		/// 录入时间
		/// </summary>
		public DateTime FInsDate
		{
			set;
			get;
		}
		/// <summary>
		/// 录入IP
		/// </summary>
		public string FInsIP
		{
			set;
			get;
		}
		/// <summary>
		/// 修改员工编号
		/// </summary>
		public string FUpdEmplNo
		{
			set;
			get;
		}
		/// <summary>
		/// 修改部门编号
		/// </summary>
		public string FUpdDeptNo
		{
			set;
			get;
		}
		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime? FUpdDate
		{
			set;
			get;
		}
		/// <summary>
		/// 修改IP
		/// </summary>
		public string FUpdIP
		{
			set;
			get;
		}
		#endregion Model

	}
}

